package com.hwz.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hwz.common.utils.PageUtils;
import com.hwz.gulimall.product.entity.AttrGroupEntity;
import com.hwz.gulimall.product.vo.AttrGroupWithAttrsVo;
import com.hwz.gulimall.product.vo.SkuItemVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author hwz
 * @email 1281561921@qq.com
 * @date 2025-05-27 22:49:35
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);


    Long[] getCatIdPath( Long catId);

    List<AttrGroupWithAttrsVo>  getAttrGroupWithAttrsByCatId(String cateLogId);

    List<SkuItemVo.SpuItemAttrGroupVo> getAttrGroupWithAttrsBySpuId(Long spuId, Long catalogId);
}

